#ifndef TESTVIEW_H
#define TESTVIEW_H

#include <QWidget>
#include "point.h"

namespace Ui {
class TestView;
}

class TestView : public QWidget
{
    Q_OBJECT
    
public:
    explicit TestView(QWidget *parent = 0);
    ~TestView();
    
protected:
    virtual void mousePressEvent ( QMouseEvent * event );
    virtual void paintEvent(QPaintEvent *);
private:
    Ui::TestView *ui;
    Point p_[3];
    int s_;
};

#endif // TESTVIEW_H
